<?php
declare (strict_types = 1);

namespace app\home\controller;

class Index
{
    public function index()
    {
        if(isMobile()){
            header("Location:/h5/");
        }else{
            header("Location:/admin/");
        }

    }
}
